package net.lcheng.service;

import net.lcheng.model.SysRoles;

import java.util.List;

/**
 * Created by qiliping on 15/12/16.
 */
public interface SysRolesService {
    SysRoles getRoleById(int id);
    List<SysRoles> getRoleList();
    int addRole(String roleName, String roleKey, String[] rolePermissionKeys);
    int editRole(int roleId, String roleName, String roleKey, String[] rolePermissionKeys);
    int deleteRole(int roleId);
}
